const request = require("../utils/request");
const path = "/api/v1/customer";
const GetOredr = (data: any) => request("get", path + "/order-3c/s", data);
const GetOrderId = (data: any) =>
  request("get", path + "/order-3c/" + data.id, data);
const PostOrder = (data: any) => request("post", path + "/order-3c", data);
const PostOrderCancel = (data: any) =>
  request("get", path + "/order-3c/" + data.id + "/cancel", data);
export { GetOredr, GetOrderId, PostOrder, PostOrderCancel };
